var express = require('express');
var router = express.Router();
const {getStudents,addStudents,updateStudents}=require('../controllers/studentsControllers')

//获取学员信息
router.get('/getStudents',getStudents );

//新增学员
router.post('/addStudents', addStudents);

//修改学生
router.post('/updateStudents', updateStudents);

module.exports = router;